package Game;

import java.awt.Graphics2D;
import java.awt.event.KeyEvent;


public class ArkanoidOpening extends Scene
{
	private Background background;
		
	int i = 0;
	
	public ArkanoidOpening()
	{
		background = new Background(0, 0, 800, 600);
		background.Load("/imagens/ArkanoidOpening.png");
	}
	
	
	 @Override
		public void update(InputManager input) {
	    	
		 if (i++ > 10)
		 {
		 if (input.ChecarTecla(KeyEvent.VK_ENTER))
	    		SceneManager.MudarCena();
			// TODO Auto-generated method stub
		}
	 }
		@Override
		public void draw(Graphics2D g2d) {
			background.Draw(g2d);
			// TODO Auto-generated method stub
			
		}
}